﻿using System.Collections.Generic;

namespace PerceptiveMCAPI.Types
{
   public class generateTextParms
   {
      public string apikey { get; set; }
      public EnumValues.generateText_type type { get; set; }
      public object content { get; set; }
      // -----------------------------------------------------------
      public generateTextParms ()
      {
         this.apikey = MCAPISettings.default_apikey;
         this.type = MCAPISettings.default_generateText_type;
      }

      public generateTextParms ( EnumValues.generateText_type type, string content )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.type = type;
         this.content = content;
      }

      public generateTextParms ( string apikey, EnumValues.generateText_type type, string content )
      {
         this.apikey = apikey;
         this.type = type;
         this.content = content;
      }

      // force 'template' type
      public generateTextParms ( Dictionary<string, string> content )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.type = EnumValues.generateText_type.template;
         this.content = content;
      }

      // force 'template' type
      public generateTextParms ( string apikey, Dictionary<string, string> content )
      {
         this.apikey = apikey;
         this.type = EnumValues.generateText_type.template;
         this.content = content;
      }

   }
}
